//
//  HEGuessTextCell.m
//  HealthFamily
//
//  Created by 吴欧 on 2020/11/21.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import "HEGuessTextCell.h"

@interface HEGuessTextCell ()

@property (nonatomic, strong) UILabel *titleLb;


@end

@implementation HEGuessTextCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self initUI];
    }
    return self;
}

- (void)initUI {
    
    _titleLb = [UILabel new];
    _titleLb.text = @"-";
    _titleLb.font = DYFont(16);
    _titleLb.textColor = CNavBgColor;
    [self.contentView addSubview:_titleLb];

    [_titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView).mas_offset(15);
        make.left.equalTo(self.contentView).mas_offset(0);
        make.right.equalTo(self.contentView).mas_offset(-0);
        make.bottom.equalTo(self.contentView).mas_offset(-0);
    }];
}

- (void)configCellWithModel:(HEAISubItemModel *)model {
    _titleLb.text = model.content;
}

@end
